'use strict';

exports.User = {
  id: { type: 'integer', required: true },
  name: { type: 'string', example: '奥特曼' },
  gender: { type: 'string', enum: ['1', '2'] },
  phone: { type: 'string', example: '13311111111', description: '手机号' },
  password: { type: 'string', example: '123456', description: '密码' },
  avatar: { type: 'string', example: 'http://dummyimage.com/200x200/92f279', description: '头像' },
  money: { type: 'number', example: 100, description: '余额' },
};
